package com.wtb.javatool.service;

import com.wtb.javatool.entity.Attachment;
import org.apache.commons.fileupload.FileItem;

import java.util.List;

public interface AttachmentService {
    void upLoadTaskAttachment(Long taskId, Long creatorId,List<FileItem> fileItems) throws Exception;

    List<Attachment> findAttachmentsByTaskId(Long taskId);

    void deleteAttachmentByAttachmentId(Long attachmentId,String attachmentUrl);
}
